/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};

/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {

/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;

/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			exports: {},
/******/ 			id: moduleId,
/******/ 			loaded: false
/******/ 		};

/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;

/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}


/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;

/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;

/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";

/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {

	var Button = __webpack_require__(3);
	/*var Button = UcsmyUI.Button;*/
	var Root = React.createClass({displayName: "Root",
	    handler: function() {
	        console.log('点击事件');
	    },
	    render:function(){
	        return React.createElement("div", null, 
	            React.createElement(Button, {id: "btn1", value: "确定", className: "ucs-btn-confirm", onclick: this.handler}), 
	            React.createElement(Button, {value: "取消", className: "ucs-btn-cancel"}), 
	            React.createElement(Button, {value: "立即投标", className: "ucs-btn-bidnow"}), 
	            React.createElement(Button, {value: "预热中", className: "ucs-btn-wait"}), 
	            React.createElement(Button, {value: "已完成", className: "ucs-btn-completed"}), 
	            React.createElement(Button, {value: "已满标", className: "ucs-btn-full"}), 
	            React.createElement(Button, {value: "禁用样式", className: "ucs-btn-disabled"}), 
	            React.createElement(Button, {value: "块状按钮", className: "ucs-btn-confirm ucs-btn-block"}), 
	            React.createElement(Button, {value: "表单验证码", className: "ucs-btn-code"}), 
	            React.createElement(Button, {value: "大按钮", className: "ucs-btn-confirm ucs-btn-large"}), 
	            React.createElement(Button, {value: "小按钮", className: "ucs-btn-confirm ucs-btn-small"}), 
	            React.createElement(Button, {value: "a标签", className: "ucs-btn-confirm", href: "http://www.ucsmy.com"})
	        )
	    }
	});
	ReactDOM.render(React.createElement(Root, null), document.getElementById('main'));


/***/ },
/* 1 */,
/* 2 */,
/* 3 */
/***/ function(module, exports) {

	var Button = React.createClass({displayName: "Button",
		config:{
	        id:""
	    },
		render: function() {
			var customClassNameArr=this.props.className?this.props.className.split(' '):'';
	        var customClassName ='ucs-btn';
	        if(customClassNameArr.length>0){
	            for(var i=0;i<customClassNameArr.length;i++){
	                customClassName=customClassNameArr[i]+' '+customClassName;
	            }
	        }
			this.props.className = customClassName;
			var id = this.props.id?this.props.id:'';
			if(this.props.href){
				return React.createElement("a", {id: id, onclick: this.props.onclick, className: this.props.className, href: this.props.href}, this.props.value)
			}else{
				return React.createElement("button", {id: id, onclick: this.props.onclick, className: this.props.className}, this.props.value)
			}
		}
	})
	module.exports = Button;

/***/ }
/******/ ]);